package org.nci.platform.workflow.mapper;

import org.nci.platform.workflow.dto.SysFormPageQuery;
import org.nci.platform.workflow.dto.SysFormQuery;
import org.nci.platform.workflow.entity.SysForm;

import java.util.List;

/**
 * 流程表单Mapper接口
 * 
 * @author Tony
 * @date 2021-03-30
 */
public interface SysFormMapper
{

    SysForm getById(long id);

    List<SysForm> page(SysFormPageQuery query);

    Long pageCount(SysFormPageQuery query);

    List<SysForm> list(SysFormQuery query);

    void save(SysForm sysForm);

    void updateById(SysForm sysForm);

    void removeByIds(List<Long> formIds);
}
